<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="stylesheet" href="../assets/css/layui.css">
    <link rel="stylesheet" href="../assets/css/view.css"/>
    <title></title>
</head>
<body class="layui-view-body">
<div class="layui-content" id="add_contract_vue">
    <div class="layui-row">
        <div class="layui-card">
            <div class="layui-card-header">新增合同</div>
            <form class="layui-form layui-card-body" action="">
                <div class="layui-form layui-form-item">
                    <div class="layui-form-mid">合同名称：</div>
                    <div class="layui-input-inline" style="width: 100px;">
                        <input type="text" id="contract_name" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>

                <div class="layui-form layui-form-item">
                    <div class="layui-form-mid">合同类型：</div>
                    <div class="layui-input-inline" style="width: 100px;">
                        <select id="contract_type" lay-verify="required">
                            <option value="0">无</option>
                            <option value="1">普通合同</option>
                            <option value="2">框架合同</option>
                        </select>
                    </div>
                </div>
                <div class="layui-form layui-form-item">
                    <div class="layui-form-mid">合同方向：</div>
                    <div class="layui-input-inline" style="width: 100px;">
                        <select id="contract_direction" lay-verify="required" >
                            <option value="0">无</option>
                            <option value="1">收入合同</option>
                            <option value="2">支出合同</option>
                            <option value="3">双向合同</option>
                        </select>
                    </div>
                </div>
                <div class="layui-form layui-form-item">
                    <div class="layui-form-mid">甲方公司名称：</div>
                    <div class="layui-input-inline" style="width: 100px;">
                        <input lay-verify="required" type="text" id="first_party" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form layui-form-item">
                    <div class="layui-form-mid">乙方公司名称：</div>
                    <div class="layui-input-inline" style="width: 100px;">
                        <input lay-verify="required" type="text" id="second_party" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn layui-btn-blue" id="present">立即提交</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
</body>
<script src="../js/vue.dev.js"></script>
<script src="../js/jquery.3.2.1.min.js"></script>
<script src="../assets/layui.all.js"></script>
<script>
    $(function (){
        $("present").onclick(function (){
            alert(1);
        });
    });
</script>
</html>
